Skip to content

Conversation

@remy90
Copy link

@remy90 remy90 commented Aug 15, 2025

Thank you for your work on this package, much appreciated! I came across string & {} recently to get 'loose autocomplete' on a string and thought it might help here.

Changes

What does this PR change? Link to any related issue(s).
A union of type "A" | "B" | "C" will now provide intellisense options from the union but also accept non-union string entries

How to Review

How can a reviewer review your changes? What should be kept in mind for this review?

Checklist

  • Unit tests updated
  • docs/ updated (if necessary)
  • pnpm run update:examples run (only applicable for openapi-typescript)

@remy90 remy90 requested a review from a team as a code owner August 15, 2025 13:46
@remy90 remy90 requested a review from drwpow August 15, 2025 13:46
@netlify
Copy link

netlify bot commented Aug 15, 2025

👷 Deploy request for openapi-ts pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 404db56

@changeset-bot
Copy link

changeset-bot bot commented Aug 15, 2025

🦋 Changeset detected

Latest commit: 404db56

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
openapi-typescript Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@remy90 remy90 changed the title Add type support for unions with additionalProperties to provide ts intellisense feat(open-API-union) Add type support for unions with additionalProperties to provide ts intellisense Aug 21, 2025
@remy90 remy90 changed the title feat(open-API-union) Add type support for unions with additionalProperties to provide ts intellisense feat(openAPI-union) Add type support for unions with additionalProperties to provide ts intellisense Aug 21, 2025
@gzm0 gzm0 added the openapi-ts Relevant to the openapi-typescript library label Oct 2, 2025
@remy90
Copy link
Author

remy90 commented Dec 2, 2025

Hey @drwpow @gzm0
Any chance of a review on this? openapi has served me well on a recent project and I wanted to give back in a small way. LMK if you have any thoughts!

@drwpow
Copy link
Contributor

drwpow commented Feb 8, 2026

Thanks for submitting this! Sorry for the delay in reviewing. There’s a slight conflict with another PR that recently got merged. If you’re able to resolve the conflict, and tests are still passing, would be happy to merge, thank you!

Also please be sure to add a changeset (see comment) so this can be versioned & released

@remy90
Copy link
Author

remy90 commented Feb 12, 2026

Hey @drwpow,
Thanks for getting back to me. The merge conflict has been resolved (via rebase) and I've added a changeset.

Thanks again,

Copy link
Contributor

@drwpow drwpow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks again!

@drwpow drwpow merged commit f55fb72 into openapi-ts:main Feb 12, 2026
7 checks passed
@openapi-ts-bot openapi-ts-bot mentioned this pull request Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

openapi-ts Relevant to the openapi-typescript library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants